package com.xiaol.springbootredis.common.page;

import lombok.Data;

import java.io.Serializable;

/**
 * User: chenshun131 <p />
 * Time: 18/6/6 16:14  <p />
 * Version: V1.0  <p />
 * Description: 分页参数传递工具类 <p />
 */
@Data
public class PageParam implements Serializable {

    private static final long serialVersionUID = 5803258804806187801L;

    /** 当前页数 */
    private int pageNum;

    /** 每页记录数 */
    private int numPerPage;

    public PageParam(int pageNum, int numPerPage) {
        super();
        this.pageNum = pageNum;
        this.numPerPage = numPerPage;
    }

}
